TABLE.ISOPEN Function

Syntax

Result_Flag as L = IsOpen([C Tablename])

Arguments

Tablename

The name of the table that you want to test. The .DBF extension is assumed.

Description

Test if a table is open - return .T. if table is currently open.

Discussion

The TABLE.ISOPEN() method returns .T. if Table name is open in the current session. Note : The TABLE.IN_USE() method will allow you to test is the table is in use in the current session, or any other session.

This script checks if the Customer table is open.

flag = table.isopen("customer")

See Also